ABOUTDEVELOPERS |
SpatialStream® Code Examples
Parcel Dimension Labels
This example shows how to identify a polygon and display the dimension labels. This capability is using the GetByGeometry and GetMap functional component. GetByGeometry GetMap
// add the dimension layer using the keyField and showValues to display the dimensions for a singel parcel.
var dimensionLayer = new Dmp.Layer.WMSLayer(layerName, "SS", { showField: keyField, showValues: keyValue, antiAlias: true, ignoreHoles: true, dimensionLayer.addChild(dimensionID, resource, SLD, { zIndex: 1, zoomRange: { min: 10, max: 19 },// add the layer to the map map.addEntity(dimensionLayer); Run Sample Back To Index |